<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>CSS盒模型</title>
    <style media="screen">
        *{
            padding: 0;
            margin: 0;
        }
        .content {
            width: 300px;
            height: 400px;
            border: 5px solid #242424;
            padding: 20px;
            background-color: #898989;

        }
    </style>
</head>
<body>
<style>
    .contanier{
        border: 1px solid;
        overflow: scroll;
    }
    .wrap1{
        width: 100px;
        height: 100px;
        background-color: red;
        float: left;
    }
    .wrap2{
        width: 100px;
        height: 100px;
        background-color: green;
        float: left;
    }
</style>
<div class="contanier">
    <p>11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111</p>
    <div class="wrap1"></div>
    <div class="wrap2"></div>
</div>
</body>
</html>
